package entity;

import java.util.Date;

/**
 * Users entity. @author MyEclipse Persistence Tools
 */

public class Users implements java.io.Serializable {

	// Fields

	private Integer id;
	private UserType userType;
	private String name;
	private String password;
	private Integer status;
	private Date lastModifyTime;

	// Constructors

	/** default constructor */
	public Users() {
	}

	/** full constructor */
	public Users(UserType userType, String name, String password, Integer status, Date lastModifyTime) {
		this.userType = userType;
		this.name = name;
		this.password = password;
		this.status = status;
		this.lastModifyTime = lastModifyTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public UserType getUserType() {
		return this.userType;
	}

	public void setUserType(UserType userType) {
		this.userType = userType;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getLastModifyTime() {
		return this.lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

	@Override
	public String toString() {
		return "Users [id=" + id + ", name=" + name + ", password=" + password + ", status=" + status
				+ ", lastModifyTime=" + lastModifyTime + "]";
	}

	
	
}